package com.imgo.max.fans.dao;

import org.apache.ibatis.annotations.Param;

import com.imgo.max.fans.mapping.FansNum;

/**
 *  粉丝数量
 * @author jinwei
 *
 */
public interface FansNumDao {

    int deleteByPrimaryKey(Integer id);

    int insert(FansNum record);

    int insertSelective(FansNum record);


    FansNum selectByPrimaryKey(Integer id);


    int updateByPrimaryKeySelective(FansNum record);

    int updateByPrimaryKey(FansNum record);

	Integer updatefanNum(@Param("artistId")String artistId);

    Integer updateByCancel(@Param("artistUid")String artistUid);

//	Integer updateByCancel(@Param("artistUid")String artistUid, @Param("fansNum")int fansNum);
}